package dfl.bysj.service;

import dfl.bysj.entity.Seat;
import dfl.bysj.entity.SeatState;
import com.baomidou.mybatisplus.extension.service.IService;
import dfl.bysj.entity.VO.SeatStateVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author DFL
 * @since 2022-05-17
 */
public interface SeatStateService extends IService<SeatState> {

    List<SeatStateVO> getAllSeatStateVOBySeaId(Integer seaId);

    String getStateName(Integer seaId);


    void insertSeatStatesByResSta(List<Seat> seatList, Integer reserveState);

    void updateReserveStateBySeaId(Integer seaId);
}
